<template>
	<view> 
		<view class="sit" @click="personaldata">
			<text>个人资料</text>
			<image src="../image/jinru.png" mode=""></image>
		</view>
		<view class="sit" @click="accountsecurity"> 
			<text>账户与安全</text>
			<image src="../image/jinru.png" mode=""></image>
		</view>
		<view class="sit">
			<text>版权信息</text>
			<image src="../image/jinru.png" mode=""></image>
		</view>
		<view class="sit">
			<text>当前版本</text>
			<text style="float: right;">V2.3.1</text>
		</view>
		<button type="default" style="width: 600rpx;height: 80rpx;background-color: #FFF;" @click="logOut">退出登录</button>
	</view>
</template>

<script>
	 import local from '@/utils/localStorage.js';
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			// 退出登录
			      logOut(){
			        local.remove("token");
			        this.$router.push({path:"/login_index"})
			      },
			personaldata(){
				uni.navigateTo({ 
					url:'/pages/personaldata/personaldata'
				})
			},
			accountsecurity(){
				uni.navigateTo({
					url:'/pages/accountsecurity/accountsecurity'
				})
			}
		}
	}
</script>

<style>
.sit{
	width: 750rpx;
	height: 100rpx;
	border-bottom: 1rpx solid #969799;
	}
	.sit text{
		line-height: 100rpx;
		margin: 0 20rpx;
	}
	.sit image{
		width: 40rpx;
		height: 40rpx;
		margin: 30rpx 20rpx;
		float: right;
	}
	button{
		text-align: center;
		box-shadow: 0px 2px 6px 0px rgba(185, 185, 185, 40);
		color: rgba(87, 87, 87, 100);
		font-size: 32rpx;
		line-height: 80rpx;
		margin: 300rpx auto;
		font-family: PingFangSC-regular;
		border: 1px solid rgba(255, 255, 255, 100);
	}
</style>
